package com.sina.shop.controller.user;

import com.sina.shop.web.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created with IntelliJ IDEA.
 * Description:  此controller只是负责用户中心页面的跳转
 * 段浩杰   2018-03-06-17:46
 */
@Controller
@RequestMapping(value = "user")
public class MineController extends BaseController {

    @RequestMapping(value = "index", method = RequestMethod.GET)
    public ModelAndView index() {
        ModelAndView modelAndView = new ModelAndView("/user/index");
        return modelAndView;
    }


    @RequestMapping(value = "address", method = RequestMethod.GET)
    public ModelAndView address() {
        ModelAndView modelAndView = new ModelAndView("/user/address");
        return modelAndView;
    }

    @RequestMapping(value = "bill", method = RequestMethod.GET)
    public ModelAndView bill() {
        ModelAndView modelAndView = new ModelAndView("/user/bill");
        return modelAndView;
    }

    @RequestMapping(value = "bindPhone", method = RequestMethod.GET)
    public ModelAndView bindPhone() {
        ModelAndView modelAndView = new ModelAndView("/user/bindPhone");
        return modelAndView;
    }

    @RequestMapping(value = "bonus", method = RequestMethod.GET)
    public ModelAndView bonus() {
        ModelAndView modelAndView = new ModelAndView("/user/bonus");
        return modelAndView;
    }


    @RequestMapping(value = "change", method = RequestMethod.GET)
    public ModelAndView change() {
        ModelAndView modelAndView = new ModelAndView("/user/change");
        return modelAndView;
    }

    @RequestMapping(value = "collection", method = RequestMethod.GET)
    public ModelAndView collection() {
        ModelAndView modelAndView = new ModelAndView("/user/collection");
        return modelAndView;
    }

    @RequestMapping(value = "comment", method = RequestMethod.GET)
    public ModelAndView comment() {
        ModelAndView modelAndView = new ModelAndView("/user/comment");
        return modelAndView;
    }

    @RequestMapping(value = "coupon", method = RequestMethod.GET)
    public ModelAndView coupon() {
        ModelAndView modelAndView = new ModelAndView("/user/coupon");
        return modelAndView;
    }

    @RequestMapping(value = "email", method = RequestMethod.GET)
    public ModelAndView email() {
        ModelAndView modelAndView = new ModelAndView("/user/email");
        return modelAndView;
    }

    @RequestMapping(value = "foot", method = RequestMethod.GET)
    public ModelAndView foot() {
        ModelAndView modelAndView = new ModelAndView("/user/foot");
        return modelAndView;
    }

    @RequestMapping(value = "idCard", method = RequestMethod.GET)
    public ModelAndView idCard() {
        ModelAndView modelAndView = new ModelAndView("/user/idCard");
        return modelAndView;
    }

    @RequestMapping(value = "information", method = RequestMethod.GET)
    public ModelAndView information() {
        ModelAndView modelAndView = new ModelAndView("/user/information");
        return modelAndView;
    }

    @RequestMapping(value = "news", method = RequestMethod.GET)
    public ModelAndView news() {
        ModelAndView modelAndView = new ModelAndView("/user/news");
        return modelAndView;
    }

    @RequestMapping(value = "order", method = RequestMethod.GET)
    public ModelAndView order() {
        ModelAndView modelAndView = new ModelAndView("/user/order");
        return modelAndView;
    }

    @RequestMapping(value = "password", method = RequestMethod.GET)
    public ModelAndView password() {
        ModelAndView modelAndView = new ModelAndView("/user/password");
        return modelAndView;
    }

    @RequestMapping(value = "question", method = RequestMethod.GET)
    public ModelAndView question() {
        ModelAndView modelAndView = new ModelAndView("/user/question");
        return modelAndView;
    }

    @RequestMapping(value = "safety", method = RequestMethod.GET)
    public ModelAndView safety() {
        ModelAndView modelAndView = new ModelAndView("/user/safety");
        return modelAndView;
    }

    @RequestMapping(value = "setpay", method = RequestMethod.GET)
    public ModelAndView setpay() {
        ModelAndView modelAndView = new ModelAndView("/user/setpay");
        return modelAndView;
    }

}
